<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // 我们可以看出在严格模式下 我们对代码的的调用必须严格的写出被调用的函数的对象，不可以有省略或者说简写
    "use strict";
    console.log(this) //window
    function fn() {
      console.log(this)//undefined
    }
    fn()
    window.fn()//window
  </script>
</body>

</html>